package SVNTrac::Change;

use warnings;
use strict;

=head1 NAME

SVNTrac::Change - SVNTrac change class (for 'chng' table)

=head1 SYNOPSIS

SVNTrac chnage (actually 'chng') table, ORMed:

    use SVNTrac::Change;

    my $change = SVNTrac::Change->new ( cn => $number );
    
    $change->load;
    
    print "Change $number's message is " . $change->message . ".\n";
    
    $change->status ( "eat at Joe's" );
    
    $change->save;

Change (actually 'chng') table schema is:

  CREATE TABLE chng (
    cn        integer primary key,
    date      int,
    branch    text,
    milestone int,
    user      text,
    directory text,
    message   text
  );

=cut

use base qw( SVNTrac::DB::Object );

__PACKAGE__->meta->table ( 'chng' );
__PACKAGE__->meta->auto_initialize;

=head1 AUTHOR

Xavier Caron, C<< <xav at cpan.org> >>

=head1 BUGS

Please report any bugs or feature requests to C<bug-svntrac-change at rt.cpan.org>, or through
the web interface at L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=SVNTrac>.  I will be notified, and then you'll
automatically be notified of progress on your bug as I make changes.

=head1 SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc SVNTrac

You can also look for information at:

=over 4

=item * RT: CPAN's request tracker

L<http://rt.cpan.org/NoAuth/Bugs.html?Dist=SVNTrac>

=item * AnnoCPAN: Annotated CPAN documentation

L<http://annocpan.org/dist/SVNTrac>

=item * CPAN Ratings

L<http://cpanratings.perl.org/d/SVNTrac>

=item * Search CPAN

L<http://search.cpan.org/dist/SVNTrac>

=back

=head1 ACKNOWLEDGEMENTS

John Siracusa, Rose::DB::Object module owner.

=head1 COPYRIGHT & LICENSE

Copyright 2008 Xavier Caron, all rights reserved.

This program is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.

=cut

1; # End of SVNTrac::Change
